package shadow.hsl.androidxexec.db

import android.icu.text.AlphabeticIndex.Record



interface IBaseDao<T> {

    fun insert(entity: T): Long

    fun update(entity: T, where: T): Long

    fun delete(where: T): Int

    fun query(where: T): List<T>

    fun query(where: T, orderBy: String, startIndex: Int, limit: Int)
}